package com.ylkj.wx.entitis;

import static javax.persistence.GenerationType.IDENTITY;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "order_info", catalog = "sq_puyfg37476")
public class OrderEntity  implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private Integer id;
	private String orderNo;
	private String bizCode;
	private String phrCode;
	private Double payMoney;
	private String payMode;
	private String payOrderNo;
	private String orderState;
	private String tradeState;
	private Timestamp payTime;
	private Integer commentState;
	private String buyerId;
	private String buyerEmail;
	private String remark;
	private Timestamp gmtCreate;
	private Timestamp gmtModify;
	
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	@Column(name = "order_no")
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	
	@Column(name = "biz_code")
	public String getBizCode() {
		return bizCode;
	}
	public void setBizCode(String bizCode) {
		this.bizCode = bizCode;
	}
	
	@Column(name = "phr_code")
	public String getPhrCode() {
		return phrCode;
	}
	public void setPhrCode(String phrCode) {
		this.phrCode = phrCode;
	}
	@Column(name = "pay_money")
	public Double getPayMoney() {
		return payMoney;
	}
	public void setPayMoney(Double payMoney) {
		this.payMoney = payMoney;
	}
	
	@Column(name = "pay_mode")
	public String getPayMode() {
		return payMode;
	}
	public void setPayMode(String payMode) {
		this.payMode = payMode;
	}
	
	@Column(name = "pay_order_no")
	public String getPayOrderNo() {
		return payOrderNo;
	}
	public void setPayOrderNo(String payOrderNo) {
		this.payOrderNo = payOrderNo;
	}
	
	@Column(name = "order_state")
	public String getOrderState() {
		return orderState;
	}
	public void setOrderState(String orderState) {
		this.orderState = orderState;
	}
	
	@Column(name = "trade_state")
	public String getTradeState() {
		return tradeState;
	}
	public void setTradeState(String tradeState) {
		this.tradeState = tradeState;
	}
	
	@Column(name = "pay_time")
	public Timestamp getPayTime() {
		return payTime;
	}
	public void setPayTime(Timestamp payTime) {
		this.payTime = payTime;
	}
	
	@Column(name = "comment_state")
	public Integer getCommentState() {
		return commentState;
	}
	public void setCommentState(Integer commentState) {
		this.commentState = commentState;
	}
	
	@Column(name = "buyer_id")
	public String getBuyerId() {
		return buyerId;
	}
	public void setBuyerId(String buyerId) {
		this.buyerId = buyerId;
	}
	
	@Column(name = "buyer_email")
	public String getBuyerEmail() {
		return buyerEmail;
	}
	public void setBuyerEmail(String buyerEmail) {
		this.buyerEmail = buyerEmail;
	}
	
	@Column(name = "remark")
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Column(name = "gmt_create")
	public Timestamp getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Timestamp gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	
/*	@Column(name = "gmt_modify")
	public Timestamp getGmtModify() {
		return gmtModify;
	}
	public void setGmtModify(Timestamp gmtModify) {
		this.gmtModify = gmtModify;
	}*/
	
}
